import Vue from 'vue'
import Vuex from 'vuex'

import {state,getters,mutations } from "./mutations"
import actions from "./actions"
import cate from "./modules/cate"
import banner from "./modules/banner"
import specs from "./modules/specs"
import goods from "./modules/goods"
Vue.use(Vuex)

export default new Vuex.Store({
  state,
  mutations,
  actions,
  getters,
  modules: {
    cate,specs,banner,goods
  }
})
